nearest_point_on_line Function

public pure function nearest_point_on_line(pt, ln) result(rst)

Gets the line parameter for the point on the line nearest the specified point.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: pt(3)

The point.

class(line), intent(in) :: ln

The line.

Return Value real(kind=real64)

The line parameteric variable defining the location of the point nearest along the line.


Contents